package cn.stylefeng.guns.core.common.util;

import java.util.ArrayList;
import java.util.Date;

public class DateUtil {



    public static Long getDifference(Date old , Date now){
        Long time =  old.getTime() - now.getTime();
        long difference = time / (3600 * 24 * 1000);
        return difference;
    }


    public static void main(String[] args) {

    }
}
